Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump org.graalvm.nativeimage:svm from 22.3.0 to 23.0.1 #455

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

arvindkrishnakumar-okta
Copy link
Contributor

No description provided.

@arvindkrishnakumar-okta arvindkrishnakumar-okta changed the title Bump svm to 23.0.1 Bump svm from 22.3.0 to 23.0.1 Aug 21, 2023
@arvindkrishnakumar-okta arvindkrishnakumar-okta changed the title Bump svm from 22.3.0 to 23.0.1 Bump svm from 22.3.0 to 23.0.1 Aug 21, 2023
@arvindkrishnakumar-okta arvindkrishnakumar-okta changed the title Bump svm from 22.3.0 to 23.0.1 Bump org.graalvm.nativeimage:svm from 22.3.0 to 23.0.1 Aug 21, 2023
@arvindkrishnakumar-okta
Copy link
Contributor Author

arvindkrishnakumar-okta commented Aug 21, 2023

@bdemers Do you have any pointers for me on the build failures please?

image

@bdemers
Copy link
Contributor

bdemers commented Aug 21, 2023

Looks like it's this line:
https://github.com/okta/okta-cli/actions/runs/5930538774/job/16080469818?pr=455#step:4:1792

It's not ideal, but the version of GraalVM is defined multiple times in this project with different usages:

@arvindkrishnakumar-okta
Copy link
Contributor Author

Looks like it's this line: https://github.com/okta/okta-cli/actions/runs/5930538774/job/16080469818?pr=455#step:4:1792

It's not ideal, but the version of GraalVM is defined multiple times in this project with different usages:

@bdemers Thanks! I've updated the versions in the 3 usages you noted above. Can you please check if it looks ok? The build still fails with the same error.

@bdemers
Copy link
Contributor

bdemers commented Aug 21, 2023

There is also a warning in your log about the maven plugin version:
https://github.com/okta/okta-cli/blob/master/cli/pom.xml#L163

@arvindkrishnakumar-okta
Copy link
Contributor Author

arvindkrishnakumar-okta commented Aug 21, 2023

There is also a warning in your log about the maven plugin version: https://github.com/okta/okta-cli/blob/master/cli/pom.xml#L163

@bdemers the plugin version is already at the latest 21.2.0, are you suggesting downgrading or?

@arvindkrishnakumar-okta
Copy link
Contributor Author

@bdemers I think the main issue is this:

Fatal error: java.lang.IllegalAccessError: superinterface check failed: class com.oracle.svm.core.posix.PosixSubstrateSigprofHandler_OptionDescriptors (in unnamed module @0x2145b572) cannot access class org.graalvm.compiler.options.OptionDescriptors (in module jdk.internal.vm.compiler) because module jdk.internal.vm.compiler does not export org.graalvm.compiler.options to unnamed module @0x2145b572
	at java.base/java.lang.ClassLoader.defineClass1(Native Method)
	at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1012)
	at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
	at java.base/java.net.URLClassLoader.defineClass(URLClassLoader.java:524)
	at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:427)
	at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:421)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:712)
	at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:420)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
	at java.base/jdk.internal.loader.Loader.loadClass(Loader.java:564)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
	at java.base/java.lang.Class.forName0(Native Method)
	at java.base/java.lang.Class.forName(Class.java:467)
	at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.nextProviderClass(ServiceLoader.java:1217)
	at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(ServiceLoader.java:1228)
	at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNext(ServiceLoader.java:1273)
	at java.base/java.util.ServiceLoader$2.hasNext(ServiceLoader.java:1309)
	at java.base/java.util.ServiceLoader$3.hasNext(ServiceLoader.java:1393)
	at org.graalvm.nativeimage.base/com.oracle.svm.common.option.CommonOptionParser.collectOptions(CommonOptionParser.java:168)
	at org.graalvm.nativeimage.builder/com.oracle.svm.core.option.SubstrateOptionsParser.collectOptions(SubstrateOptionsParser.java:116)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.option.HostedOptionParser.collectOptions(HostedOptionParser.java:63)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.option.HostedOptionParser.<init>(HostedOptionParser.java:58)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageClassLoaderSupport.setupHostedOptionParser(NativeImageClassLoaderSupport.java:186)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.installNativeImageClassLoader(NativeImageGeneratorRunner.java:181)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:123)
Error: Image build request failed with exit status 1

@bdemers
Copy link
Contributor

bdemers commented Aug 22, 2023

There is also a warning in your log about the maven plugin version: https://github.com/okta/okta-cli/blob/master/cli/pom.xml#L163

@bdemers the plugin version is already at the latest 21.2.0, are you suggesting downgrading or?

Nope, sorry, I just noticed the warning in the log

@bdemers
Copy link
Contributor

bdemers commented Aug 22, 2023

It could be a bug, i'd suggest trying to create a minimal example, and and filing an issue in the GraalVM repo

@arvindkrishnakumar-okta arvindkrishnakumar-okta added help wanted Extra attention is needed bug Something isn't working labels Aug 24, 2023
@arvindkrishnakumar-okta arvindkrishnakumar-okta changed the title Bump org.graalvm.nativeimage:svm from 22.3.0 to 23.0.1 Bump org.graalvm.nativeimage:svm from 22.3.0 to 23.1.0 Sep 22, 2023
@arvindkrishnakumar-okta arvindkrishnakumar-okta changed the title Bump org.graalvm.nativeimage:svm from 22.3.0 to 23.1.0 Bump org.graalvm.nativeimage:svm from 22.3.0 to 23.0.1 Sep 22, 2023
@the-foreigner
Copy link

Hi @arvindkrishnakumar-okta did you follow up the graalvm issue?

@arvindkrishnakumar-okta
Copy link
Contributor Author

Hi @arvindkrishnakumar-okta did you follow up the graalvm issue?

oracle/graal#7248 is the last update I got.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants